package com.ctgu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ctgu.model.entity.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    //查询超级管理员菜单权限
    List<String> selectPermsByAdminId(Integer adminId);
    //查询公司管理员菜单权限
    List<String> selectPermsByCompanyId(Integer companyId);
    //查询员工管理员菜单权限
    List<String> selectPermsByEmployeeId(Integer employeeId);
}
